package com.xiaoxx.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoxx.model.dto.sys.SysMsgPublishDto;
import com.xiaoxx.model.entity.sys.SysMsgPublish;
import com.xiaoxx.model.vo.sys.SysMsgPublishListVo;
import com.xiaoxx.model.vo.sys.SysMsgPublishQuery;
import com.xiaoxx.model.vo.sys.SysMsgPublishVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author HX
 * @since 2023-08-03
 */
public interface SysMsgPublishService extends IService<SysMsgPublish> {


    IPage<SysMsgPublishListVo> listMsgPublish(SysMsgPublishQuery query);


    Boolean addOrUpd(SysMsgPublishDto dto);

    Boolean sendAgain(String id, List<String> userIds);
}
